<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>
            X-admin v1.0
        </title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="__STATIC__/admin/css/x-admin.css" media="all">
    </head>
    <body>
        <div class="x-body">
            <blockquote class="layui-elem-quote">
            <p>上次登录IP：{$Think.session.admin.login_ip}  上次登录时间： {$Think.session.admin.last_time}</p>
            </blockquote>
            <fieldset class="layui-elem-field layui-field-title site-title">
              <legend><a name="default">信息统计</a></legend>
            </fieldset>
            <xblock >
                <p style="font-size: 18px">
                    在线人数:&nbsp;<span style="color: #ff0000">{$online}</span>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    总金额:&nbsp;<span style="color: #ff0000">{$moneysum}</span>
                </p>
            </xblock>




            <table class="layui-table">
                <thead>
                    <tr>
                        <th>统计</th>
                        <th>用户</th>
                        <th>代理</th>
                        <th>会员</th>
                        <th>投注</th>
                        <th>中奖</th>
                        <th>充值</th>
                        <th>取款</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>总数</td>
                        <td>{$usersum}</td>
                        <td>{$dlsum}</td>
                        <td>{$hysum}</td>
                    </tr>
                    <tr>
                        <td>今日</td>
                        <td>{$todayuser}</td>
                        <td>{$todaydl}</td>
                        <td>{$todayhy}</td>
                    </tr>
                    <tr>
                        <td>昨日</td>
                        <td>{$ytodayuser}</td>
                        <td>{$ytodaydl}</td>
                        <td>{$ytodayhy}</td>
                    </tr>
                </tbody>
            </table>
        </div>
        <script src="__STATIC__/admin/lib/layui/layui.js" charset="utf-8"></script>
        <script src="__STATIC__/admin/js/x-admin.js"></script>
        <script>
        var _hmt = _hmt || [];
        (function() {
          var hm = document.createElement("script");
          hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
          var s = document.getElementsByTagName("script")[0]; 
          s.parentNode.insertBefore(hm, s);
        })();
        </script>
    </body>
</html>